package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-05
 */
public class HouseWaitOutGoods extends Model<HouseWaitOutGoods> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 待出库单id
     */
    private String houseWaitOutId;

    /**
     * 进货退货单商品id
     */
    private String inGoodsRefundGoodsId;

    /**
     * 销售单商品id
     */
    private String saleGoodsId;

    /**
     * 调拨单商品id
     */
    private String goodsTransferGoodsId;

    /**
     * 借出单商品id
     */
    private String borrowOutGoodsId;

    /**
     * 借入归还单商品id
     */
    private String borrowInBackGoodsId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 已出库数量
     */
    private BigDecimal hasOutNumber;

    /**
     * 待出库数量
     */
    private BigDecimal waitOutNumber;

    /**
     * 商品数量
     */
    private BigDecimal number;

    /**
     * 单位id
     */
    private String unitId;

    /**
     * 换算倍数
     */
    private BigDecimal times;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseWaitOutId() {
        return houseWaitOutId;
    }

    public void setHouseWaitOutId(String houseWaitOutId) {
        this.houseWaitOutId = houseWaitOutId;
    }
    public String getInGoodsRefundGoodsId() {
        return inGoodsRefundGoodsId;
    }

    public void setInGoodsRefundGoodsId(String inGoodsRefundGoodsId) {
        this.inGoodsRefundGoodsId = inGoodsRefundGoodsId;
    }
    public String getSaleGoodsId() {
        return saleGoodsId;
    }

    public void setSaleGoodsId(String saleGoodsId) {
        this.saleGoodsId = saleGoodsId;
    }
    public String getGoodsTransferGoodsId() {
        return goodsTransferGoodsId;
    }

    public void setGoodsTransferGoodsId(String goodsTransferGoodsId) {
        this.goodsTransferGoodsId = goodsTransferGoodsId;
    }
    public String getBorrowOutGoodsId() {
        return borrowOutGoodsId;
    }

    public void setBorrowOutGoodsId(String borrowOutGoodsId) {
        this.borrowOutGoodsId = borrowOutGoodsId;
    }
    public String getBorrowInBackGoodsId() {
        return borrowInBackGoodsId;
    }

    public void setBorrowInBackGoodsId(String borrowInBackGoodsId) {
        this.borrowInBackGoodsId = borrowInBackGoodsId;
    }
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public BigDecimal getHasOutNumber() {
        return hasOutNumber;
    }

    public void setHasOutNumber(BigDecimal hasOutNumber) {
        this.hasOutNumber = hasOutNumber;
    }
    public BigDecimal getWaitOutNumber() {
        return waitOutNumber;
    }

    public void setWaitOutNumber(BigDecimal waitOutNumber) {
        this.waitOutNumber = waitOutNumber;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public BigDecimal getTimes() {
        return times;
    }

    public void setTimes(BigDecimal times) {
        this.times = times;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseWaitOutGoods{" +
            "id=" + id +
            ", houseWaitOutId=" + houseWaitOutId +
            ", inGoodsRefundGoodsId=" + inGoodsRefundGoodsId +
            ", saleGoodsId=" + saleGoodsId +
            ", goodsTransferGoodsId=" + goodsTransferGoodsId +
            ", borrowOutGoodsId=" + borrowOutGoodsId +
            ", borrowInBackGoodsId=" + borrowInBackGoodsId +
            ", goodsId=" + goodsId +
            ", hasOutNumber=" + hasOutNumber +
            ", waitOutNumber=" + waitOutNumber +
            ", number=" + number +
            ", unitId=" + unitId +
            ", times=" + times +
            ", companyId=" + companyId +
        "}";
    }
}
